increase output buffer size in test suite
authorNoah Meyerhans <noahm@debian.org>
Wed, 2 Sep 2026 16:17:57 +0000 (12:17 -0400)
committerNoah Meyerhans <noahm@debian.org>
Wed, 2 Sep 2026 16:17:57 +0000 (12:17 -0400)
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146490
Forwarded: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/thread/ANHNQSGJLW6AVONUG42Q7DKUODF47ZLS/

Forwarded: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/thread/ANHNQSGJLW6AVONUG42Q7DKUODF47ZLS/
Gbp-Pq: Name bug1146490-buffer-resize.patch

src/lib/test-ostream-multiplex.c

index 59dcf02ed162dce761cb538c8397ae423dd04d49..d83b801f24d8c7b84f89624e17c4c73fb80a8764 100644 (file)
@@ -715,7 +715,7 @@ static int test_stream_backpressure_child(void *context ATTR_UNUSED)
 
        /* Small parent buffer so avail reaches 0 quickly once the socket fills;
           this is the congested state where the backpressure fix matters. */
-       struct ostream *parent = o_stream_create_fd(fd[1], 4096);
+       struct ostream *parent = o_stream_create_fd(fd[1], 8192);
        o_stream_set_no_error_handling(parent, TRUE);
        struct ostream *chan0 = o_stream_create_multiplex(parent, SIZE_MAX,
                OSTREAM_MULTIPLEX_FORMAT_STREAM);